﻿using System.Diagnostics;

namespace IPScanner
{
    public class HostItem
    {
        public string Address { get; set; }

        public string Name { get; set; }

        public PingStatus IsOnline { get; set; } = PingStatus.Unknown;

        public long ReplayTime {  get; set; }

        public long BufferLength {  get; set; }

        public override string ToString()
        {
            return Address + " | " + Name;
        }
    }

    public enum PingStatus
    {
        Online,
        Offline,
        Unknown
    }
}
